Skip to main content

Reply to this post | See parent post | Go Back
View Post [edit]

Poster: Jonathan Aizen Date: Mar 11, 2004 2:44am
Forum: etree Subject: Re: Format of text file for best import

The parser is written in PHP using Perl regular expressions.

The regular expression for the location field is: /(.*\, {0,1}[A-Za-z]{1,}.*)/

For the source field it is: /source: *(.*)/i

For the lineage field it is: /lineage: *(.*)/i or /transfer: (.*)/i

For the taper it is: /taped by: *(.*)/i

For the transferer it is: /transfered by: *(.*)/i or /conversion *: *(.*)/i

I hope this helps

Jon

Reply to this post
Reply [edit]

Poster: Unstoppable Drew Date: Mar 11, 2004 4:32am
Forum: etree Subject: Re: Format of text file for best import

Awesome. That was exactly what I was looking for. Thanks Jon!

Reply to this post
Reply [edit]

Poster: greenone Date: Mar 11, 2004 4:54am
Forum: etree Subject: Re: Format of text file for best import

Jon - just looking at the parser info. This is great to know! I couldn't help but notice the "transfered" by - shouldn't it be "transferred", with two R's?

--Dave